package pablo.developer;

public class Request {
	int idUser;
	String origen,destino,fecha,hora,seats,timeMargin,maxCost,status,name;
	boolean encontrado;
	String latOrigen,lngOrigen,latDestino,lngDestino;
	public static Request getEmpty() {
		return new Request("", "", "", "", "", "", "", "","","","","","",false,0);
	}
	public Request(String ori,String des,String fech, String hor, String nam,
			       String costeMax, String marginTime, String stat, String seat,String latO,String lngO,String latD,String lngD, boolean enc, int id){
		origen     = ori;
		destino    = des;
		fecha      = fech;
		hora       = hor;
		name       = nam;
		maxCost    = costeMax;
		timeMargin = marginTime;
		status     = stat;
		seats      = seat;
		encontrado = enc;
		idUser     = id;
		latOrigen  = latO;
		lngOrigen  = lngO;
		latDestino = latD;
		lngDestino = lngD;
		
	}
	
	public String getOrigen(){
		return origen;
	}
	public String getDestino(){
		return destino;
	}
	public String getFecha(){
		return fecha;
	}
	public String getHora(){
		return hora;
	}
	public String getName(){
		return name;
	}
	public String getMaximoCoste(){
		return maxCost;
	}
	public String getTiempoEspera(){
		return timeMargin;
	}
	public String getStatus(){
		return status;
	}
	public String getAsientos(){
		return seats;
	}
	public String getLatitudOrigen(){
		return latOrigen;
	}
	public String getLongitudOrigen(){
		return lngOrigen;
	}
	public String getLatitudDestino(){
		return latDestino;
	}
	public String getLongitudDestino(){
		return lngDestino;
	}
	public boolean getEncontrado(){
		return encontrado;
	}
	public int getIdUser(){
		return idUser;
	}
}

